Skip to content

Swift package localized resources#5

Open
ejensen wants to merge 1 commit intotoddkramer:masterfrom
Frameio:swift-package-resources
Open

Swift package localized resources#5
ejensen wants to merge 1 commit intotoddkramer:masterfrom
Frameio:swift-package-resources

Conversation

@ejensen
Copy link
Copy Markdown

@ejensen ejensen commented Feb 27, 2022

This change updates the Swift package definition to support localized resources. This was done by following Apple's Localizing Package Resources article.

The pod spec has been updated to generate the resource bundle rather than using a pre-built bundle. The pre-built bundle is not recommended in CocoaPods:

For building the Pod as a static library, we strongly recommend library developers to adopt resource bundles as there can be name collisions using the resources attribute. Moreover, resources specified with this attribute are copied directly to the client target and therefore they are not optimised by Xcode.

…nition

Update the pod spec to generate a resource bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant